package com.atguigu.gmall.product.service;

import com.atguigu.entity.BaseSaleAttr;
import com.atguigu.entity.SpuSaleAttr;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * spu销售属性 服务类
 * </p>
 *
 * @author 冇有
 * @since 2021-09-16
 */
public interface SpuSaleAttrService extends IService<SpuSaleAttr> {

    List<SpuSaleAttr> spuSaleAttrList(Long spuId);

    List<BaseSaleAttr> selectSpuSaleAttrListCheckBySku(Long skuId, Long spuId);

    Map getSkuValueIdsMap(Long spuId);
}
